import service from './request'
//检查登录状态
export const CheckLoginStatus = (data) => {
  return service({
    method: "get",
    url: '/login/status'
  });
};

//账号详情
export const UserAccount = (data) => {
  return service({
    method: "get",
    url: '/user/account'
  });
};

////获取用户信息 , 歌单，收藏，mv, dj 数量
export const UserSubcount = (data) => {
  return service({
    method: "get",
    url: '/user/subcount'
  });
};

//获取用户等级信息
export const UserLevel = (data) => {
  return service({
    method: "get",
    url: '/user/level'
  });
};

//获取用户详情
export const UserDetail = (uid) => {
  return service({
    method: "post",
    url: `/user/detail?uid=${uid}`,
  });
};

//获取用户绑定信息
export const UserBinding = (uid) => {
  return service({
    method: "post",
    url: `/user/binding?uid=${uid}`,
  });
};

//获取用户私信通知
export const UserCount = (uid) => {
  return service({
    method: "get",
    url: '/pl/count',
  });
};